09. 练习:CONCAT
练习:CONCAT
-
accounts
表格中的每个客户都想为每个primary_poc
创建一个电子邮箱。邮箱应该是 primary_poc 的名字.
primary_poc 的姓氏@
公司名称.com
。
-
你可能注意到了,在上一个答案中,有些公司名称存在空格,肯定不适合作为邮箱地址。看看你能否通过删掉客户名称中的所有空格来创建合适的邮箱地址,否则你的答案就和问题
1.
的一样。 此处 是一些实用的文档。
-
我们还需要创建初始密码,在用户第一次登录时将更改。初始密码将是
primary_poc
的名字的第一个字母(小写),然后依次是名字的最后一个字母(小写)、姓氏的第一个字母(小写)、姓氏的最后一个字母(小写)、名字的字母数量、姓氏的字母数量,然后是合作的公司名称(全大写,没有空格)
Workspace
This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.
Workspace Information:
- Default file path:
- Workspace type: sql-evaluator
- Opened files (when workspace is loaded): n/a